{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}

<!DOCTYPE html>
{% block title %} Flasky Index {% endblock %}

{% block page_content %}

    <form method="post">
        {{ form.hidden_tag() }}
        {{ form.name.label }} {{ form.name(id='my-text-filed') }}
        {{ form.submit() }}
    </form>

    <div class="page-header">
        <h1>Hello {% if name %} {{ name }} {% else %} You.{% endif %}!</h1>
    </div>

    {{ wtf.quick_form(form) }}
{% endblock %}